package com.liujc.homebundle;

import android.os.Bundle;
import android.widget.TextView;
import android.widget.Toast;

import com.liujc.commonlib.BaseActivity;
import com.liujc.commonlib.CommonUtil;


public class HomeActivity extends BaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_home);
        initView();
    }

    private void initView() {
        TextView textView = (TextView) findViewById(R.id.current_version);
        textView.setText("当前插件版本："+CommonUtil.getVersionName(HomeActivity.this));
    }

    @Override
    protected void onResume() {
        super.onResume();
        Toast.makeText(this,"homebundle has changed2",Toast.LENGTH_SHORT).show();
    }
}
